
<div id="sanpham_right">
	<div id="title_right">
		<p id="title_right_left"></p>
		<div id="title_right_center">
			<p class="chu_title">SẢN PHẨM</p>
		</div>
		<p id="title_right_right"></p>
	</div>
	<div id="noidung_right">
		<!-- san pham 1 -->
	<?php if(isset($data['list']))
	{
		foreach($data['list'] as $item)
		{?>
		<div id="sanpham">
			<p align="center">
				
					<a href="public/upload/<?php echo $item['HinhAnh'];?>" class="MagicZoomPlus" rel="zoom-position: right; zoom-height: 300px;"><img
					src="public/upload/<?php echo $item['HinhAnh'];?>" width="100px" /></a>
				
			</p>
			<p class="ten_sp">
				<a href="index.php?mod=detail&id=<?php echo $item['MaMH'];?>"><?php echo $item['TenMH'];?>
				</a>
			</p>
			<p class="gia_sp">
			<?php echo number_format($item['Gia']);?>
				VNĐ
			</p>

		</div>
		<?php
		}

	}

	//Xuat phan trang
	echo "<div id='phantrang'>";
	echo "<p align='center'>";
	echo @$pagelist;
	echo "</p>";
	echo "</div>";
	?>
	</div>
 </div>